//-----------------------------------------------------------------------
// <copyright file="a_EmailFriendBase.cs" company="AACECOM">
//     Copyright (c) AACECOM. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------
	
using System;
using System.Data;
using System.ComponentModel;
using System.Collections;

namespace ThoiTrang.Entities
{
	[Serializable]
	public class a_EmailFriendBase
	{
		
		#region Variable Declarations
		private int				id = 0;
		private int				parentID = 0;
		private string				friendName = string.Empty;
		private string				email = string.Empty;
		private DateTime				lastSentDate = new DateTime(1900,1,1,0,0,0,0);
		#endregion
		
		#region Constructors
		public a_EmailFriendBase() {}
		
		public a_EmailFriendBase (
			int id,
			int parentID,
			string friendName,
			string email,
			DateTime lastSentDate)
		
		{
			this.id = id;
			this.parentID = parentID;
			this.friendName = friendName;
			this.email = email;
			this.lastSentDate = lastSentDate;
		}
		#endregion
		
		#region Properties	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is int</value>
		public int ID
		{
			get { return id; }
			set { id = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is int</value>
		public int ParentID
		{
			get { return parentID; }
			set { parentID = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is nvarchar</value>
		public string FriendName
		{
			get { return friendName; }
			set { friendName = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is varchar</value>
		public string Email
		{
			get { return email; }
			set { email = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is datetime</value>
		public DateTime LastSentDate
		{
			get { return lastSentDate; }
			set { lastSentDate = value; }
		}
	
		
		#endregion
	}//End Class
	
	public enum a_EmailFriendColumns
	{
		ID,
		ParentID,
		FriendName,
		Email,
		LastSentDate
	}//End enum
}